#ifndef PARSER_H_INCLUDED
#define PARSER_H_INCLUDED
#include <iostream>
#include "Token.h"
#include "Lexer.h"
using namespace std;

class Parser
{
    public:
        Parser(Lexer Lexatron);
        void parse();
    private:
        Token myToken;
        Lexer lexer;
        void Expr();
        void Term();
        void Factor();
        void error();
        void lex();
};


#endif // PARSER_H_INCLUDED
